package com.example.pm.ending.server.mapper;

import com.example.pm.ending.server.pojo.entity.AdminRoleRel;
import com.example.pm.ending.server.pojo.vo.AdminRoleRelStandardVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author DL
 */
@Repository
public interface AdminRoleRelMapper {

    void insert(AdminRoleRel adminRoleRel);
    /**
     * 批量插入管理员与角色的关联数据
     *
     * @param adminRoleList 若干个管理员与角色的关联数据的集合
     * @return 受影响的行数
     */
    int insertBatch(List<AdminRoleRel> adminRoleList);

    void update(AdminRoleRel adminRoleRel);


    void deleteByAdminId(Long AdminId);

    AdminRoleRelStandardVO getStandardByAdminId(Long AdminId);







}
